home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7643 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: rain.fr!world-net!usenet
  2. From: Frederic LACHASSE <lachass@worldnet.fr>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C++ Or not ..
  5. Date: Sat, 24 Feb 1996 19:41:24 +0000
  6. Organization: World-Net information exchange, Internet provider.
  7. Message-ID: <VA.0000004a.00027c9e@fred>
  8. References: <4gcfcj$91g@shelly.inter.net.il>
  9. Reply-To: lachass@worldnet.fr
  10. NNTP-Posting-Host: pm6-115.sct.fr
  11. X-Newsreader: Virtual Access by Ashmount Research Ltd, http://www.ashmount.com
  12.  
  13. In article <4gcfcj$91g@shelly.inter.net.il>, Dror Riov 
  14. <dror-r@inter.net.il> wrote:
  15. > Hello ..
  16. > The best code language i know today is Pascal for Dos ..
  17. > My question is , sould i pass to C++?
  18.  
  19. I suppose your choices are C++ vs Delphi (Pascal with lots of OO 
  20. extension and Windows development tools). Short answer is: Delphi is 
  21. easier, faster and completely non-standard, C++ is more powerful and 
  22. quite standard.
  23.  
  24. > If Yes, will it be C++ for windows or C++ for dos (like Borland
  25. > C++ For dos) ...
  26.  
  27. Prepare for 2 (two) big changes:
  28.  
  29.  - migrating from procedural programming language (standard pascal) to 
  30. object oriented programmation (C++ or Delphi),
  31.  
  32.  - jumping from linear programs (DOS) to event-based graphical 
  33. interfaces (Windows).
  34.  
  35. > Another quesiton ..
  36. > Can i compile a Windows C++ program in a Dos C++ compiler?
  37.  
  38. Compilers makes OBJs from sources and linkers EXEs from OBJs. So 
  39. products like Borland C++ 4.5 have:
  40.  
  41.  - A 16 bits DOS extended (C++ compilaters need HUGE amount of memory) 
  42. compiler that creates 16 bits OBJs and a DOS linker that can creates DOS 
  43. and Windows programs.
  44.  
  45.  - The same 16 bits compiler and linker, but as Windows programs.
  46.  
  47.  - A 32 bits DOS DPMI32 compiler with a 32 bits linker to create Win32s 
  48. (i.e. Windows 3.1 with 32 bits extention), Win95 (Windows and console) 
  49. and WinNT (Windows and console) programs.
  50.  
  51.  - The same as Windows 32 bits applications...
  52.  
  53. Just adding Powerpack extension allows the 16 bits linkers to create DOS 
  54. DPMI programs and the 32 bits linkers 32 bits programs.
  55.  
  56. So that you can choose any environment you want to compile (DOS or 
  57. Windows) to build whatever executables you need (DOS or Windows).
  58.  
  59. I'm not sure that'll help you much. The main question is: what do you 
  60. want to do? Then choose the best product to do it.
  61.  
  62.  Frederic LACHASSE (ECP 86)
  63.  CompuServe: 100530,2005
  64.  Internet: lachass@worldnet.fr
  65.  
  66.